<template>
  <div>
    <div class="banner">
      <!-- swiper -->
      <div class="swiper">
        <!-- ============================= 轮播图 Start =================================== -->
        <div class="swiper-wrapper">
          <div
            class="swiper-slide"
            v-for="item in swiperList"
            :key="item.imgName"
          >
            <a href="javascript:;">
              <img :src="item.imgUrl" alt="" />
            </a>
          </div>
        </div>
        <!-- ============================= 轮播图 End =================================== -->

        <!--分页器-->
        <div class="swiper-pagination"></div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  props: ['swiperList']
}
</script>

<style></style>
